<script language="javascript" type="text/javascript">
        function printDiv(divID) {
            var divElements = document.getElementById(divID).innerHTML;
            var oldPage = document.body.innerHTML;
            document.body.innerHTML = 
              "<html><head><title></title></head><body>" + 
              divElements + "</body>";
            window.print();
            document.body.innerHTML = oldPage;}
    </script>

<div class="row-fluid">
<div class="span12 pad_all">

<a style="cursor:pointer;"onclick="javascript:printDiv('printing')"> PRINT</a>

<div id="printing">
<?php foreach($case_detail as $detail)
{?>








            <tr>
			      <td><p style="font-size:15px; margin:0px; padding-left:7%;"align="center"><b><?php echo $company_profile->name;?></b></td>
		   </tr>
            <tr> <b class="pull-right" style="font-size:12px;"></span><?php echo $case_no->case_no;?></b><br></p>

			      <td><p align="center" style="font-size:10px; margin:0px; "><?php echo $company_profile->address;?>,<?php echo $company_profile->city;?>-<?php echo $company_profile->pincode;?> <b class="pull-right"style="font-size:12px;"></span></b></p></td>
			</tr>
             <tr>  <td><p style="font-size:10px; margin:0px; padding-bottom:30px;"align="center">Ph:<?php echo $company_profile->landline;?>,Fax:<?php echo $company_profile->fax;?>,E-mail:<?php echo $company_profile->email;?></p></td>
			</tr>
            


<table width="100%" >
       <tr><b style="font-size:12px;">INFORMATION TO BE FILLED BY CUSTOMER:</b></tr>
       <tr> 
	       <td width="17%"><b style="font-size:10px;">Company Name:</b></td>
		   <td colspan="5" style="border-bottom:1pt solid black;">&nbsp;&nbsp;<b style="font-size:10px;"><?php echo $detail->company_name;?></b></td>
	  </tr>
      <tr> 
	       <td ><b style="font-size:10px;">Contact Person:</b></td>
		   <td colspan="5"style="border-bottom:1pt solid black;">&nbsp;&nbsp;<b style="font-size:10px;"><?php echo $detail->customer_name;?></b></td>
	 </tr> 
      <tr>  
	       <td width="10%"><b style="font-size:10px;">Address:</b></td>
		   <td colspan="5" style="border-bottom:1pt solid black;">&nbsp;<b style="font-size:10px;"><?php echo $detail->customer_address;?></b></td>
	 </tr> 
      <tr> 
	      <td><b style="font-size:10px;"> PIN Code</b></td>
		  <td  style="border-bottom:1pt solid black;">&nbsp;<b style="font-size:10px;"><?php echo $detail->pincode;?></b></td>
		  <td width="10%"><b style="font-size:10px;">Landline No.<b></td><td style="border-bottom:1pt solid black;">&nbsp;&nbsp;<b style="font-size:10px;"><?php echo $detail->landline;?></b></td>
		  <td width="10%"><b style="font-size:10px;">Mobile No.</b></td><td style="border-bottom:1pt solid black;">&nbsp;&nbsp;<b style="font-size:10px;"><?php echo $detail->mobile;?></b></td>
	 </tr> 
      <tr>
	      <td><b style="font-size:10px;">Email ID:</b></td>
		  <td colspan="5"  style="border-bottom:1pt solid black;">&nbsp;&nbsp;<b style="font-size:10px;"><?php echo $detail->email;?></b></td>
	 </tr>
	 <tr> </tr>
</table>

<table width="100%"  >
     <tr><b style="font-size:12px;">INFORMATION TO BE FILLED BY ENGINEER:</b></tr>
	 
     <tr style="border-bottom:1pt solid black;">
	     <td ><b style="font-size:10px;">Model No.</b></td>
		 <td  style="border-bottom:1pt solid black;">&nbsp;&nbsp;<b style="font-size:9px;"><?php echo $detail->model_no;?></b></td> 
		 <td > <b style="font-size:10px;">Product No.</b></td>
		 <td  style="border-bottom:1pt solid black;">&nbsp;&nbsp; <b style="font-size:9px;"><?php echo $detail->product_no;?></b></td>
		 <td > <b style="font-size:10px;">Serail No.</b></td>
		 <td style="border-bottom:1pt solid black;">&nbsp;&nbsp;<b style="font-size:9px;"><?php echo $detail->serial_no;?>  </b></td>
	</tr>
      <tr style="border-bottom:1pt solid black;">
	    <td><b style="font-size:10px;">Password:</b></td>
		<td style="border-bottom:1pt solid black;">&nbsp;&nbsp;<b style="font-size:9px;"><?php echo $detail->password;?></b></td>
		<td><b style="font-size:10px;">Operating System:</b></td>
		<td style="border-bottom:1pt solid black;">&nbsp;&nbsp;<b style="font-size:9px;"><?php echo $detail->operating_system;?></b></td>
		<td ><b style="font-size:10px;">Country Of Purchase:</b></td>
		<td  style="border-bottom:1pt solid black;">&nbsp;&nbsp;<b style="font-size:9px;"><?php echo $case_no->name;?></b></td>
	</tr>
     <tr style="border-bottom:1pt solid black;"> 
	     <td><b style="font-size:10px;">Issue Reported:</b></td>
		 <td colspan="5"style="border-bottom:1pt solid black;">&nbsp;&nbsp;<b style="font-size:9px;"><?php echo $detail->issue_reported;?></b></td>
	</tr>
     <tr style="border-bottom:1pt solid black;"> 
	      <td width="20%"><b style="font-size:10px;">Demo Engineer Diagnosis:</b></td>
		  <td colspan="5">&nbsp;&nbsp;<b style="font-size:9px;"><?php echo $detail->engineer_diagnosis;?></b></td>
	</tr>
	<tr> </tr>


<?php } ?>
<?php foreach($access as $detail){?>

        <tr ><td  colspan="1"><u><b style="font-size:12px;">ACCESSORIES:</b></u></td></tr>
	
        <tr style="border-bottom:1pt solid black;"> 
		     <td width="15%"><b style="font-size:10px;">AC Adapter:</b></td>
			 <td colspan="2"style="border-bottom:1pt solid black;">&nbsp;&nbsp;<b style="font-size:9px;"><?php echo $detail->ac_adapter_detail;?></b></td>
			 <td width="15%"><b style="font-size:10px;">Driver CD:</b></td><td  style="border-bottom:1pt solid black;">&nbsp;&nbsp;<b style="font-size:9px;"><?php echo $detail->driver_cd_detail;?></b></td>
			 <td width="15%"><b style="font-size:12px;">Bag:</b></td><td  style="border-bottom:1pt solid black;">&nbsp;&nbsp;<b style="font-size:9px;"><?php echo $detail->bag_detail;?></b></td>
		</tr>
        <tr style="border-bottom:1pt solid black;">
		     <td><b style="font-size:10px;">HDD:</b></td>
			 <td colspan="2" style="border-bottom:1pt solid black;">&nbsp;&nbsp;<b style="font-size:9px;"><?php echo $detail->hdd_detail;?></b></td>
			 <td><b style="font-size:10px;">Power Cord:</b></td><td style="border-bottom:1pt solid black;">&nbsp;&nbsp;&nbsp;<b style="font-size:9px;"><?php echo $detail->power_cord_detail;?></b></td>
			 <td width="12%"><b style="font-size:10px;">Carry Case Belt:</b></td><td style="border-bottom:1pt solid black;">&nbsp;&nbsp;<b style="font-size:9px;"><?php echo $detail->carry_casebelt_detail;?></b></td>
		</tr>
         <tr style="border-bottom:1pt solid black;">
		     <td ><b style="font-size:10px;" >Optical Drive:</b></td>
			 <td colspan="2"style="border-bottom:1pt solid black;">&nbsp;&nbsp;<b style="font-size:9px;"><?php echo $detail->optical_drive_detail;?></b></td>
			 <td style="width:15%";><b style="font-size:10px;">Fax Modem Card:</b></td><td  style="border-bottom:1pt solid black;">&nbsp;&nbsp;<b style="font-size:9px;"><?php echo $detail->modem_card_detail;?></b></td>
			 <td><b style="font-size:10px;">Network Card:</b></td><td style="border-bottom:1pt solid black;">&nbsp;&nbsp;<b style="font-size:9px;"><?php echo $detail->network_card_detail;?></b></td>
			 </tr>
    <tr style="border-bottom:1pt solid black;">  <td><b style="font-size:10px;">Memory:</b></td>
	      <td colspan="2"style="border-bottom:1pt solid black;">&nbsp;&nbsp;<b style="font-size:9px;"><?php echo $detail->memory_detail;?></b></td>
		  <td><b style="font-size:10px;">Capacity:</b></td>
		  <td style="border-bottom:1pt solid black;">&nbsp;&nbsp;<b style="font-size:9px;"><?php echo $detail->capacity_detail;?></b></td>
		  <td><b style="font-size:10px;">Tray:</b></td>
		  <td style="border-bottom:1pt solid black;">&nbsp;&nbsp;<b style="font-size:9px;"><?php echo $detail->tray_detail;?></b></td>
		  
   </tr>
   <tr style="border-bottom:1pt solid black;">
        <td><b style="font-size:10px;">Battery Sr.No.:</b></td>
		<td colspan="3"style="border-bottom:1pt solid black;">&nbsp;&nbsp;<b style="font-size:9px;"><?php echo $detail->battry_serial;?></b></td>
		<td style="border-bottom:1pt solid black;">&nbsp;</td>
		<td width="12%"> <b style="font-size:10px;">Cradle:</b></td>
		<td colspan="3"style="border-bottom:1pt solid black;">&nbsp;&nbsp;<b style="font-size:9px;"><?php echo $detail->cradle_detail;?></b></td>
	</tr>
    <tr style="border-bottom:1pt solid black;">
        <td><b style="font-size:10px;">FDD:</b></td>
		<td colspan="2" >&nbsp;&nbsp;<b style="font-size:9px;"><?php echo $detail->fdd_detail;?></b></td>	
		<td width="2%" ><b style="font-size:10px;">ITB:</b></td>
		<td >&nbsp;&nbsp;<b style="font-size:9px;"><?php echo $detail->itb_detail;?></b></td>
		<td><b style="font-size:10px;">Wireless LAN:</b></td>
		<td >&nbsp;&nbsp;<b style="font-size:9px;"><?php echo $detail->wireless_detail;?></b></td>
	 </tr>	
	 <br>
</table>

<table  width="100%" >
   <tr><b><h5 style="font-size:12px";>MISCELLANEOUS COMMENTS:</h5></b></tr>
   <tr style="border-bottom:1pt solid black;">
       <td width="10%"><b style="font-size:10px;">Scratches</b></td>
	   <td >&nbsp;&nbsp;<b style="font-size:9px;"><?php echo $detail->comment_scratches;?></b> </td>
  </tr>
   <tr style="border-bottom:1pt solid black;"> <td><b style="font-size:10px;">Damages/Breakages</b></td>
        <td style="border-bottom:1pt solid black;">&nbsp;&nbsp;<b style="font-size:9px;"><?php echo $detail->comment_damages;?></b></td>
		</tr>
   <tr style="border-bottom:1pt solid black;">  <td><b style="font-size:10px;">Others</b></td>
         <td style="border-bottom:1pt solid black;">&nbsp;&nbsp;<b style="font-size:9px;"><?php echo $detail->comment_other;?></b></td>
	</tr>

<?php } ?>
<tr><td style="font-size:10px;"colspan="2"><b style="font-size=8px;">Note:</b>In Case of Hard Disk Failure,it may require formatting the Hard Disk.This may lead to loss of data.Hence,it is advisable for the customer to backup important files/data & program.Application software will not be installed apart from the recommended operating system,includeing drivers and patches.Kindly refer to warranty term and condition for more inforamtion.</td></tr>

<tr><td width="15%"><b style="font-size:12px;">Customer Authorization:</b></td></tr>
<tr><td colspan="4"><b style="font-size:10px;">I hereby authorize HP Support Provider to provide the necessary repair service.I have taken back up of all important data/programs/application to backup in the hard disks.</b></td></tr>
<tr><td width="20%"><b style="font-size:10px;">CUSTOMER SIGNATURE:</b></td><td width="100%">.................................................................................................................</td></tr>
<tr>
</tr>
<tr>
</tr>
</table>
<br>
<br>
<br>
<p align="center" ><b style="font-size:15px;" > SUNDAY CLOSED </b> &nbsp;&nbsp;<b style="font-size:12px;"> Delivery Time 	10 a.m. to 	6 p.m.</b></p>
 </div>
 </div>
 </div>
